package org.jeecg.modules.demo.jxcx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.jxcx.dto.OpenidAccountDTO;
import org.jeecg.modules.demo.jxcx.po.JxcOpenuser;

import java.util.List;

/**
* @author DeskTop
* @description 针对表【jxc_openuser】的数据库操作Service
* @createDate 2024-07-23 18:08:05
*/
public interface JxcOpenuserService extends IService<JxcOpenuser> {

    OpenidAccountDTO queryDefaultByOpenid(String openid);

    List<JxcOpenuser> getByConpanyId(String companyId);

    void updateIsDefult(String account,String openid);

    void updateIsDefult2(String account,String openid);

    JxcOpenuser getByAccount(String account,String openid);

    JxcOpenuser getByaccount(String account);
}
